#ifndef __DRAW_H__
#define __DRAW_H__

#include <opencv2/opencv.hpp>
#include "antColonyOptimization/antColonyOptimization.h"

class draw {
public:
    draw(std::vector<std::vector<int>> vertex, pair_int start = std::pair<int, int>(1, 1), pair_int end = std::pair<int, int>(9, 9));

    void show(pair_int start, pair_int end);

    void show(std::vector<pair_int> route);
private:
    //pair_int end;
    pair_int position;
    cv::Mat map;
    int N;

    void move(Direction direction);

    Direction inline judgeDirection(pair_int start, pair_int endl);

    void coordinateToMap(pair_int &p);
};
#endif